package com.lineage.server.model.doll;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.lineage.server.model.Instance.L1PcInstance;
import com.lineage.server.serverpackets.S_OwnCharStatus2;
import com.lineage.server.serverpackets.S_ServerMessage;

public class Doll_type2 extends L1DollExecutor {
	private static final Log _log = LogFactory.getLog(Doll_type2.class);
	private int _int1;

	public static L1DollExecutor get() {
		return new Doll_type2();
	}

	public void set_power(int int1, int int2, int int3) {
		try {
			_int1 = int1;
		} catch (Exception e) {
			_log.error(e.getLocalizedMessage(), e);
		}
	}

	private String _note;

	public void set_note(String note) {
		_note = note;
	}

	public String get_note() {
		return _note;
	}

	public void setDoll(L1PcInstance pc) {
		try {
			pc.setSkillEffect(5221, 0);
		} catch (Exception e) {
			_log.error(e.getLocalizedMessage(), e);
		}
	}

	public void removeDoll(L1PcInstance pc) {
		try {
			pc.killSkillEffectTimer(5221);
		} catch (Exception e) {
			_log.error(e.getLocalizedMessage(), e);
		}
	}

	public boolean is_reset() {
		return false;
	}
}